class HotelImage < ActiveRecord::Base
  attr_accessible :description_eng, :description_idn, :hotel_id, :image
  belongs_to :hotel, foreign_key: "hotel_id"
  mount_uploader :image, HotelUploader

  validates :hotel_id, :image, presence: true
end
